package com.ml.mall.bean.req.catalogue;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author :pl
 * @version :1.0
 * @description :收藏目录产品添加传参
 * @date :2021/5/26
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "收藏目录产品添加")
public class SysCatalogueVariantEditDto {
    @ApiModelProperty(value = "收藏目录id")
    @NotNull(message = "收藏目录id不能为空")
    private Long id;

    @ApiModelProperty(value = "变体id")
    private Long variantId;

    @ApiModelProperty(value = "数量")
    private Integer quality;
}
